<%--
  Created by IntelliJ IDEA.
  User: lenovo
  Date: 2024/11/22
  Time: 9:42
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>first.jsp</title>
</head>
<body bgcolor=yellow>
    <%! double a = 3, b = 4, c = 5; %>
    <BR>加载triangle.jsp计算三边为<%= a %>,<%= b %>,<%= c %>的三角形面积:
        <jsp:include page="triangle.jsp" flush="true">
            <jsp:param name="sideA" value="<%= a %>" />
            <jsp:param name="sideB" value="<%= b %>" />
            <jsp:param name="sideC" value="<%= c %>" />
        </jsp:include>
</body>
</html>
